Ohm's law states that the current through a conductor between two points is directly proportional to the voltage across the two points. In other words, as the voltage increases, so does the current, and vice versa, as long as the temperature and other physical conditions remain constant.
With that said, metals are the materials that most closely obey Ohm's law because their electrical resistance does not vary significantly with changes in temperature or current. Conductors made of metals such as copper, silver, and gold have a nearly constant resistance, and their resistance does not depend on the amount of current flowing through them.
On the other hand, electrolytes, diodes, and glass are materials that do not obey Ohm's law. Electrolytes are materials that conduct electricity when dissolved in water, and their resistance depends on the concentration of ions in the solution. Diodes are electronic components that only allow current to flow in one direction, and their resistance depends on the voltage applied to them. Glass is an insulator and has an extremely high resistance, which does not vary significantly with changes in voltage or current.