Giving out your business card is a common courtesy. It lets the seller know that you were in their home, and if they leave for any reason, it will let them know someone came by to take care of things while they’re away.
A realtor has an even greater responsibility than just showing properties. They represent their clients’ best interests throughout every aspect of buying or selling one’s house.