Can you bake in aluminum foil containers?

Can you bake in aluminum foil containers?

A

Does it take longer to bake in aluminum pans?

l