It was originally intended as a church for Louis XV , but is now a secular mausoleum of some of the nation 's greatest heroes .
Maintenance and security are a large expense for the mausoleum , with a significant part of the costs covered by visitor donations .