Miro Interview Question

What is the difference between public and private subnet in AWS?