Boa constrictor

They are solitary and group together mostly during the mating season.

An excerpt from the article 17 facts about Boa constrictor

They spend most of their time on the ground, although they can climb and are sometimes found in trees.