Typically, ultrasound can distinguish between cysts (fluid) and solid masses.
Depending on the appearance of the mass on ultrasound, it may be appropriate to biopsy
based on that exam alone. Some masses aren't well enough characterized with ultrasound and require contrast-enhanced MRI
(or ct sometimes) to ensure that biopsy is appropriate.