Yes, tennis is a part of common wealth games. It is part of the optional games. It was first introduced to common wealth games in 2010 in Delhi, India. The men's and women's singles and doubles were contested, the mixed double was contested too. Australia was the best nation at the tennis game in 2010 common wealth games.
Australia had 3 gold, 3 silver and 2 bronze in the game. Tennis did not appear in 2014 and 2018 common wealth games. 2010 was the first and only time tennis appeared in common wealth games.