how do the beads of sweat occur?

The water comes from inside the body through the pores of the skin. Here is a site that give more information about it although much of the information is mathematical.

Sorry, I didn't post the site.

http://hyperphysics.phy-astr.gsu.edu/Hbase/thermo/sweat.html

The beads of sweat occur when sweat glands in our skin produce sweat, which then reaches the surface of our skin. To understand this process, we need to first understand why our body sweats.

Our bodies regulate temperature through a process called thermoregulation. When the internal temperature of our body rises, such as during physical activity or exposure to heat, our body needs to cool down. Sweating is one of the mechanisms our body uses for cooling.

Sweat glands, which are located all over our body, produce sweat. There are two types of sweat glands: eccrine glands and apocrine glands. Eccrine glands are the most common, and they are found in large numbers on the palms of our hands, the soles of our feet, and our forehead. Apocrine glands are primarily found in areas with hair follicles, such as the armpits and groin.

When our body temperature increases, the sweat glands are stimulated to produce sweat. Sweat is mostly composed of water, with some electrolytes like sodium and chloride. It also contains small amounts of urea and other substances.

Once the sweat is produced, it travels through tiny ducts and pores in the skin's surface and reaches the outer layer of our skin, called the epidermis. The sweat then accumulates on the surface of our skin in the form of droplets or beads, which we commonly refer to as "sweat beads."

When the sweat beads on our skin, it helps to lower our body temperature by evaporating. As the sweat evaporates, it takes heat away from our body, cooling us down. This is why we often feel cooler and more comfortable after sweating.

So, to recap, beads of sweat occur when sweat glands produce sweat, and the sweat reaches the surface of our skin. This process happens to regulate our body temperature and cool us down.