Do you have to have yoga a yoga mat to do yoga?

No. Most people use it because it is more comfortable but you can do it anywhere where there is ground or a flat surface without a mat. You could use a carpet, a blanket, or just the floor.