Complex sentence: Abstraction captures only those details about an object that are relevant to the current perspective; in both computing and in mathematics, numbers are concepts in programming languages.
Split into simpler sentences: Abstraction captures only those details about an object that are relevant to the current perspective. For instance, numbers are concepts in programming languages.