Yes, you can use a tart pan to bake a quiche and vice versa. Quiche and tart pans have straight sides whereas pie pans are slightly curved. If you only own a pie pan, that will work here, too. The difference between quiches and tarts is in the ingredients - tarts are made with pastry crust and their fillings contain less eggs and cream.