Summary:

Each citizen in a city is either an atheist or follows a Religion. Natural and deliberate spread of a Religion to a city converts them, and once one Religion has a majority of citizens as followers, this city will be considered to follow said religion. At that point, religious units and buildings of that religion can be bought in the city screen.

If the majority of citizens follows one Religion, the symbol of that Religion will be displayed in the city banner.