That looks to be a rough in for a toilet - I could be wrong but picture isn't great. Just cap it. How wide is the pipe is will determine what it could be used for.
It isn't your basement drainage pipe because it is raised... Well I guess it could be but that would be a very bad thing.
Either way it looks like a rough-in for something. I think toilet/sink combo - I have seen these tied together in older homes in the basement- but could be for just sink usage - maybe for laundry sink or something like that. Either way put a cap on it. The iron ones screw in and you can find them at the big box. If it doesn't have grooves put some sort of cap over the outside of it. You do not need a plumber for this.