Baking refer to the action of transferring mesh based information into textures. These information are then read by shaders and/or substance filters to perform advanced effects. Smart Materials and Smart Masks rely on them for example.
To learn more about baking take a look at the Baking documentation.
To learn how to bake in Substance Painter take a look at the interface guide.