Andirons serve a similar purpose as grates in that they help keep logs upright in the fireplace. However, andirons are typically used to add more decorative flair to the fireplace.