To rename a field during JSON serialization or deserialization.
@JsonProperty is used to map JSON keys to Java fields with different names. In scenarios where a JSON field is named 'price' but your Java class uses 'productPrice', @JsonProperty("price") ensures correct mapping.