Switching and porting from Arduino Mega to Teensy 4.1

You can store programs on SD cards? I thought they were only for storing/logging data