As Max has already said, Modbus is not directly related to RS485.
Modbus is a communications protocol.
There are actually two forms of Modbus, Modbus RTU and Modbus ASCII
The message format of Modbus RTU is a series of bits, what each bits represent is up to the software guy to determine.
Modbus ASCII on the other hand, send data in the form of text messages.
If you want to implement a Modbus interface, download this document and read it thoroughly.
https://modbus.org/docs/PI_MBUS_300.pdf
RS485 is an electrical specification for the signal connection between two devices.
The form of the data passing through an RS485 interface is not defined in RS485.
It could be in Modbus format, or it could be something else.
The electrical interface for a Modbus Data link could be RS485, Rs442, or even good old RS232.
There are some systems which implement Modbus over an Ethernet connection.
JimB