A stylus is a small metal or plastic device that looks like a tiny ink pen but uses pressure instead of ink.
digital pen
A digital pen, which is slightly larger than a stylus, typically provides more functionality than a stylus, featuring electronic erasers and programmable buttons. Most digital pens, often simply called pens, are pressure-sensitive.