FBI controls gun sales not ATF!
I assume that you are referring to the National Instant Criminal Background Check System, or NICS which is handled by the FBI. The ATF aids in the enforcement of Federal requirements for gun purchases. Like so many Government laws, there are multiple agencies involved in the management and regulation of a law.