Find which systemd unit owns a process

ps -o unit= -p 2841
# or, from the other direction
systemctl status 2841