How does solar power genertors work?

Would like to know how solar power works. Also what does it takes to build one. How much is the cost. How much will it produce In savings from the electric companys. Is bigger always better. Can we sell this back to the electic company? Sure hope someone can help me. I believe this could make alot of money and also help us become more indepanted.