For John Ungar, beekeeping is a form of meditation.

鈥淓ven the sound of it -- 鈥榖zzz鈥 鈥 it鈥檚 like 鈥榦hm,鈥 Ungar told CTV Montreal.

Ungar is one of about 50 men who have participated in an urban beekeeping program on the roof of Accueil Bonneau, a Montreal homeless organization.

After his wife died a few years ago, Ungar said his life 鈥渇ell apart鈥 and he lived for a time in a crack house. During the downturn, he turned to Accueil Bonneau for hot meals.

That鈥檚 when he stumbled upon the apiary.

鈥淭his place came to my rescue. It鈥檚 given me work and activity,鈥 Ungar said.

The program, has been in place since 2014 and started out with a few hives. It鈥檚 since expanded to house 50,000 bees, and seven other locations have started similar apiaries in the city.

The program offers different jobs for the beekeeping apprentices throughout the seasons. In the spring, volunteers clean the hives and check on the bees health with the help of Alveole, an urban beekeeping company. At the end of the summer, honey is collected and sold.

According to the program鈥檚 website, the locally-harvested honey is unpasteurized and has soft hints of mint and flowers.

All sales of the honey are put back into running the shelter.

Aside from a social benefit, the program also has environmental perks. The roving bees help pollinate gardens throughout Montreal and boost perennial greening. Similar urban apiaries have popped up in major cities across the world to help offset dwindling bee populations.

The program provides a sense of order and responsibility for participants, according to Accueil Bonneau鈥檚 director of communications and special projects.

鈥淚t鈥檚 very concrete, it鈥檚 specific moves they have to do and they have to be very gentle, which is very different from life on the street,鈥 said Genevieve Kieffer Despres.

With files from CTV Montreal