In this paper we give some properties of pure codes and several characterizations on two-element pure codes. It is shown that a language is a solid code if and only if it is a comma-free code which is also a d-code. We also show that d-codes, intercodes and solid codes are pure codes.