When to Select Path Parameters VS Query Parameters?

When to Select Path Parameters VS Query Parameters?