Whenever we want to distinguish between stem and root, we should look for position of protoxylem. In roots, the position of protoxylem is exarch (protoxylem towards periphery, metaxylem towards center) while in stem it is endarch (protoxylem towards center and metaxylem towards periphery).