Refers to the precious stone.
El rubí que compró su abuela es una joya de gran valor.
The ruby that his grandmother bought is a jewel of great value.
El rubí que compró en el mercado brillaba intensamente bajo la luz del sol.
The ruby he bought at the market shone brightly under the sunlight.