The characteristic shared by both dark matter and baryonic matter is:
They both have gravity.
While baryonic matter can be directly observed and interacts electromagnetically (including absorption of light), dark matter is inferred from its gravitational effects and has not been directly observed. Therefore, the correct response is that both have gravity.