It is a trim known as quarter-round or shoe-molding.
Some people prefer to remove baseboards and put in new ones. If
this is the case, take extra precaution because removing baseboards
can damage walls. It is recommended that only a professional should
do this.