The Weierstrass Substitution is used to simplify some integrals involving trigonometric functions as the following examples show.

The Weierstrass Substitution (Introduction) | ExamSolutions - youtube Video

Definite integral type

The Weierstrass Substitution (part 2) | ExamSolutions - youtube Video