Yes, aluminum foil is safe to use in the oven. It can withstand high temperatures and is commonly used for roasting, baking, and lining baking sheets. However, it should not come into direct contact with food with high acidity or salt content, as this can cause the foil to react and potentially leach aluminum into the food.