You can interact on both platforms using one account, but the best experience is to have an account on each - Lemmy communities don't work very well on Mastodon, and Mastodon users can't be followed from Lemmy. Kbin is the middle ground which can do both.