A plug guage is used to measure the

Flatness

Bores of cyclinders

Angles

Pitch of thread