The probability of obtaining 3 heads and 3 tails in exactly 3 tosses represents getting either all 3 heads or all 3 tails, since the maximum number of results is three. The probability of getting all heads is (1/2) cubed, which is 1/8, and the probability of getting all tails is also 1/8. Adding these two mutually exclusive probabilities gives 1/8 + 1/8 = 1/4.