Summary:

Faith is the currency which enables you to found a Pantheon, makes Great Prophets spawn and can be used to purchase religious units and buildings.

There are several sources for Faith points. There are buildings or wonders that award a certain amount of Faith per round if you build them in your cities. Some Natural Wonders can also generate it when they are being worked. You can find Faith in Ancient Ruins. If you befriend a religious city-state they will also contribute with regular gifts. And the last source of Faith is the tile improvement Holy Site that Great Prophets can erect on your lands.