Can a pimple turn into a boil?

Yes a pimple can turn into a boil especially when you squeeze a pimple without a heard, normally when the pimple is red n swollen around the are that's when it turns into a boil