Are pimples caused by inflammation?

Are pimples caused by inflammation?