Basically when you sign with a record label you give them certain rights with respect to creative control, music ownership and licensing in exchange for them investing in helping you produce and market your music to a wide audience, network in the industry, tour, etc. In short, they help you make it big and take on early costs and risks and in exchange you make them rich if you do become extremely successful.