What is the difference between piers and pilasters used in masonry construction?

What is the difference between piers and pilasters used in masonry construction?