Is NaCl ionic or covalent or both? Sodium chloride bond type explanation!

Is NaCl ionic or covalent or both? Sodium chloride bond type explanation!