Magnesium is an essential mineral that plays a crucial role in the proper functioning of the human body. It is…