Vanity publishing refers to the practice of authors paying to have their books published, usually because they want to see their work in print and don't necessarily care about making a profit or reaching a wide audience. It's like paying to fulfill a personal desire to be published, rather than following the traditional route of finding a publisher who invests in and distributes the book.
Full definition