A is the correct answer.
The Legislative branch is responsible, for, well, legislation! :)
The Executive Branch and its agencies (B & D) are responsible for putting into practice and fleshing out the laws.
The Judicial Branch is responsible for determining if the laws are Constitutional.