The five pillars of Islam are:
1- Witnessing: Publicly witness that there is no God but God, (Allah), and Muhammad is his Messenger.
2- Praying: Perform prayers to God five times a day: Dawn, Morning, Noon, Evening and Bed Time.
3- Zakat: Voluntary payment of the Zakat, (financial or food contributions), to help the poor of the community.
4- Fasting: One must fast the whole month of Ramadan in each year. There are exceptions, however, depending on the mundane circumstances under which Muslims live.
5- Pilgrimage: Make once in a life time,the pilgrimage to Mecca, providing health and financial conditions permit to do so.
To be a good Muslim one must perform all of the five pillars listed above, with emphasis on the health and financial conditions, as noted in the fifth pillar.