Before doing that, each side has an opportunity to give the court specific parts of the law that they believe are important for the purposes of either presenting or defending the case. Based upon the different requests the court will then have a conference with the attorneys that is held behind closed doors in the judge's chambers, with a court stenographer present.
The court makes rulings of law and decides which sections of the law he will use to explain to the jury. Each attorney then makes a record of any objections to the court's rulings, which may ultimately form the basis of an appeal.