An advance is, just what it sounds, an advance payment on royalties. Publishing, unlike film/tv or music generally doesn't play games with royalties, so, if the book sells, once you've earned enough royalties to cover the advance you will get additional earnings.