what governmental agency does nasa fall under
Agencies are part of the executive branch, though. NASA is part of the executive. That includes independent agencies; in this context, independent just means that they don't fall within one of the cabinet-level departments.