Materialism is the philosophical position that the material world — that is, the "natural world" of matter and energy — is the only thing that truly exists. It rejects supernatural explanations of observable phenomena, as well as philosophical idealism and spiritualism.
Materialism is the basis of all scientific inquiry, although many scientists do hold supernatural or spiritual beliefs that may even play a role in their scientific endeavors. Materialists would see other forms of energy such as light photons as the same substance as matter.
In common parlance, materialism also means the attitude of valuing material possessions over intangible things like love and honor. For this reason, the word can have a pejorative connotation. Materialism should not be seen as bad. Love and honour have a physical basis in the human brain. Neural psychologists are discovering how loving brains and brains that respect honour differ from other brains. Scientists do not know the details yet. That should not stop us valuing love or honour or thinking of them as tangible and real.
Historical Materialism is a methodological approach to the study of society, economics, and history. Historical materialism looks for the causes of developments and changes in human society in the means by which humans collectively produce the necessities of life. The non-economic features of a society (e.g. social classes, political structures, ideologies) are seen as being an outgrowth of its economic activity. This means that socio-economic and political factors cause historical change, and as a result of this some necessities in life for future generations will change comparative to past generations.
In the context of religion and theism, historical materialism shows that over time, particularly in economically developed countries over the past 150 years, society has seen a reduction in religious participation and practice as well as an increase in atheism. Therefore it is conclusive to say that capitalist development has resulted in an increase in the plethora of ideological opinion, foremost of which being atheism and the increasing acceptance of science.