There is no hard and fast rule whether you wear a tuxedo or suit to a wedding because both are considered as a formal-wear and look well too. However, if the wedding or even is on day time the suit will be more appropriate, and tux in the evening.