Snails can reproduce sexually and hermaphroditic.

An excerpt from the article 19 facts about snails

Most sea snails have two sexes and land snails are hermaphroditic. Marine species lay externally fertilized eggs, which develop into larvae: these are either trochophores or veligers. In land snails, simple development takes place and internally fertilized eggs develop into adults.